function a() {
    return {
        name:'cluo',
        age:18
    }
}

let vuecomponent1 = a ()
// vuecomponent1 =  {
//     name:'cluo',
//     age:18
// }
let vuecomponent2 = a ()
// vuecomponent2 =  {
//     name:'cluo',
//     age:18
// }
let vuecomponent3 = a ()
// vuecomponent3 =  {
//     name:'cluo',
//     age:18
// }
vuecomponent1.name = '梅西'
console.log(vuecomponent1)
console.log(vuecomponent2)
console.log(vuecomponent3)











const obj = {
    name:'cluo',
    age:18
}

function a(){
    return obj
}
let vuecomponent1 = a()
vuecomponent1 = obj
let vuecomponent2 = a()
vuecomponent2 = obj
let vuecomponent3 = a()
vuecomponent3 = obj

vuecomponent1.name ='梅西'
console.log(vuecomponent1)
console.log(vuecomponent2)
console.log(vuecomponent3)